Correct a flaw in the Python 3 version checking (for 2.1) #12636
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
As keeps happening, someone in IRC said "hey, 2.1.1 breaks building on my Fedora 35 system".
Description
I cherrypicked 08cd071, cleaned up the .github conflicts, and here we are.
(Yes I remember this comment about it still being broken in some cases, I'll go correct that Soon(tm), but since this fixes many people right now, it seemed worthwhile to pull now...)
How Has This Been Tested?
I applied it to zfs-2.1-release and built on Fedora 34 (3.9.X) and -next (3.10.0). Built fine after.
I have admittedly not run through any of the pyzfs test suite bits.
Types of changes
Checklist:
Signed-off-by
.